package VUTHANHPHUC_HOMEWORK_OOP_LV2;

import java.util.Scanner;

public class SquareViews {
	public static void main(String[] args) {
		Square objC = new Square();
		Scanner nhap = new Scanner(System.in);
		double side;
		System.out.println("Input side:");
		side = nhap.nextDouble();
		objC.setSide(side);
		SquareControllers squ = new SquareControllers(objC);
		System.out.println("" + squ.Area(objC));
		System.out.println("" + squ.Perimeter(objC));
	}
}
